/*
 * [legal notice here]
 */
package com.hexacta.hrs.report.dtos;

/**
 * DTO del reporte de usuarios para el iReport.
 * 
 * Created on May 14, 2009
 * 
 * @author mmicheletto
 * 
 */
public class UserListReportDTO implements Comparable<UserListReportDTO> { 

    private String firstName;
    private String lastName;

    private String userName;

    private String personType;

    private String roles;

        
    
    
     public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPersonType() {
        return personType;
    }

    public void setPersonType(String personType) {
        this.personType = personType;
    }

    public String getRoles() {
        return roles;
    }

    public void setRoles(String roles) {
        this.roles = roles;
    }
    public int compareTo(UserListReportDTO o) {
        return (this.getLastName()).compareTo(o.getLastName());
    }
    
  
}
